Ad d new API to the docs
authorMatthias Clasen <mclasen@redhat.com>
Fri, 22 Apr 2016 02:55:57 +0000 (22:55 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 22 Apr 2016 02:55:57 +0000 (22:55 -0400)
docs/reference/gdk/gdk3-sections.txt
gdk/gdkevents.c

index 64c61b39158351511aa0f90f6f68e7230fb7c507..114c2929f811acdefecc5773e3ff5921951c8dad 100644 (file)
@@ -877,6 +877,7 @@ gdk_events_get_center
 gdk_events_get_distance
 gdk_event_triggers_context_menu
 gdk_event_get_seat
+gdk_event_get_scancode
 
 <SUBSECTION>
 gdk_event_handler_set
index d508dc35414f3a07257b51d0b9fb8c5a1b2dbf6e..d562a9c08f968ac4e1c10f80219cdaa6946984f2 100644 (file)
@@ -2478,10 +2478,11 @@ _gdk_event_set_scancode (GdkEvent *event,
  * gdk_event_get_scancode:
  * @event: a #GdkEvent
  *
- * Gets the keyboard low-level scancode.
- * This is usually hardware_keycode.
- * On Windows this is the high word of WM_KEY{DOWN,UP} lParam
- * which contains the scancode and some extended flags.
+ * Gets the keyboard low-level scancode of a key event.
+ *
+ * This is usually hardware_keycode. On Windows this is the high
+ * word of WM_KEY{DOWN,UP} lParam which contains the scancode and
+ * some extended flags.
  *
  * Returns: The associated keyboard scancode or 0
  *